package com.dlc.shop.user.common.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户权益国际化
 *
 * @author LGH
 * @date 2022-12-19 10:01:49
 */
@Data
@TableName("tz_user_rights_lang")
@NoArgsConstructor
public class UserRightsLang implements Serializable{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long rightsLangId;

    @Schema(description = "权益id")
    private Long rightsId;

    @Schema(description = "语言")
    private Integer lang;

    @Schema(description = "权益名称")
    private String rightsName;

    @Schema(description = "权益简介")
    private String description;

    public UserRightsLang(Integer lang, String rightsName, String description) {
        this.lang = lang;
        this.rightsName = rightsName;
        this.description = description;
    }
}
